package com.zretc.kscxmz.services.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.zretc.kscxmz.entity.Plan;
import com.zretc.kscxmz.mappers.PlanMapper;
import com.zretc.kscxmz.services.PlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class PlanServiceImpl implements PlanService {

    @Autowired
    private PlanMapper PlanMapper;




    @Override
    public int addPlanInfo(Map<String, Object> param) {

        return PlanMapper.insertPlanInfo(param);
    }


    @Override
    public List<Plan> getPlanInfoById(Map<String, Object> param) {
        return PlanMapper.findPlanInfoById(param);
    }
}
